﻿/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __68B8DE57_EFD9_4984_8380_D4FD6937D05C__
#define __68B8DE57_EFD9_4984_8380_D4FD6937D05C__

#include "../tools/head.h"

namespace xos_log
{
    class i_logger;

    class logger : public xos_stl::mem_item< logger, thread_lock >
    {
    public:
        typedef logger T;

    public:
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        // 
        static int get_addr( POOL *** pppPool, LIST *** pppList );

    public:
        logger();
        ~logger();

    public:
        i_logger * m_pLogger;

    public:
        int release();
        int init();
        int term();

    };

} // xos_log

#endif // __68B8DE57_EFD9_4984_8380_D4FD6937D05C__
